// import { CoolSessionStorage } from '../coolStorage/cool-session-storage'
// import { Injectable } from '@angular/core'
// import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http'
// import { Observable } from 'rxjs'
// import _ from 'underscore'

// /** 拦截器 */
// @Injectable()
// export class BodyInterceptor implements HttpInterceptor {
//   constructor(private sessionStorage: CoolSessionStorage) {}

//   intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {
//     let authReq = req

//     const body = _.extend(authReq.body, { zone: 1 })

//     authReq = authReq.clone({ body: body })

//     return next.handle(authReq)
//   }
// }
